cmake_minimum_required(VERSION 3.20)
project(starller)

set(CMAKE_CXX_STANDARD 17)

add_executable(starller
        src/main.cpp
        src/Background.cpp
        src/Renderable.cpp
        src/GameLevel.cpp
        src/Game.cpp
        src/GameLevelIntro.cpp
        src/Character.cpp
        src/Collidable.cpp
        src/PlayerState.cpp
        src/Player.cpp
        src/Block.cpp
        src/Block.h
        src/Animation.cpp
        src/Animation.h

        3rdparty/src/EasyXPng.cpp

        src/Trampoline.cpp src/Trampoline.h src/TriggerAnimation.cpp src/TriggerAnimation.h src/GameLevelHostile.cpp src/GameLevelHostile.h src/CheckpointStart.cpp src/CheckpointStart.h src/CheckpointEnd.cpp src/CheckpointEnd.h src/Fruit/Fruit.cpp src/Fruit/Fruit.h src/Saw.cpp src/Saw.h src/GameLevelBoss.cpp src/GameLevelBoss.h src/Boss.cpp src/Boss.h src/GameLevelBonus.cpp src/GameLevelBonus.h)


target_include_directories(${PROJECT_NAME}
        PRIVATE
        ${PROJECT_SOURCE_DIR}/3rdparty/include
        ${PROJECT_SOURCE_DIR}/include
        ${PROJECT_SOURCE_DIR}/src
        )

target_link_directories(${PROJECT_NAME}
        PRIVATE
        ${PROJECT_SOURCE_DIR}/3rdparty/lib/x64
        )
